Method and apparatus for offset and gain correction

ABSTRACT

Aspects of the disclosure provide a signal processing circuit that has fast response time to sudden profile changes in an electrical signal. The signal processing circuit includes a processing path configured to process an electrical signal that is generated in response to reading data on a storage medium, and a feed-forward correction module. The feed-forward correction module is configured to detect a profile variation based the electrical signal in a time window, and correct the electrical signal in the time window based on the detected profile variation.

INCORPORATION BY REFERENCE

This application claims the benefit of U.S. Provisional Application No. 61/333,190, “Fast Feed Forward Offset and Gain Correction for Read Channel” filed on May 10, 2010, which is incorporated herein by reference in its entirety.

BACKGROUND

The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.

Generally, a signal processing circuit uses offset and gain control techniques to keep amplitude and offset of a signal at desired levels. In an example, an optical storage device includes a read channel that receives an electrical signal corresponding to information on an optical storage medium. The read channel includes an offset control loop to keep an offset of the electrical signal at a desired level. In addition, the read channel includes a gain control loop to keep an amplitude of the electrical signal at a desired level.

SUMMARY

Aspects of the disclosure provide a signal processing circuit that has fast response time to sudden profile changes in an electrical signal. The signal processing circuit includes a processing path configured to process an electrical signal that is generated in response to reading data on a storage medium, and a feed-forward correction module. The feed-forward correction module is configured to detect a profile variation based on the electrical signal in a time window, and correct the electrical signal in the time window based on the detected profile variation.

According to an aspect of the disclosure, the feed-forward correction module is configured to detect the profile variation based on samples of the electrical signal in the time window, and correcta sample in the time window based on the detected profile variation. In an example, the feed-forward correction module is configured to correct a center sample in the time window based on the detected profile variation.

In an embodiment, the feed-forward correction module is configured to correct the sample in the time window when the detected profile variation is larger than a threshold. In an example, the feed-forward correction module is configured to correct a number of samples following the sample in the time window when the detected profile variation is larger than the threshold. In another example, the feed-forward correction module is configured to correct the sample in the time window when profile variations for a number of time windows are larger than the threshold.

It is noted that the profile variation can be any variations, such as an offset variation, an amplitude variation, and the like. In an embodiment, the feed-forward correction module is configured to detect an offset variation based on the electrical signal in the time window, and correct an offset of the electrical signal in the time window based on the offset variation. In another embodiment, the feed-forward correction module is configure to detect an amplitude variation based on the electrical signal in the time window, and correct an amplitude of the electrical signal in the time window based on the amplitude variation.

In an example, the feed-forward correction module includes an offset correction generation module configured to detect an offset variation based on samples of the electrical signal in the time window, and to generate an offset correction. In addition, the feed-forward correction module includes a gain error correction module configured to detect an amplitude variation based on the samples of the electrical signal in the time window, and to generate a gain correction. Further, the feed-forward correction module includes a delay module configured to delay the electrical signal in the time window, an adder configured to add the offset correction with the delayed electrical signal in the time window, and a multiplier configured to multiply the delayed electrical signal based on the gain correction.

In an implementation example, the offset correction generation module includes an offset detector configured to detect offsets of the samples in the time window, and a first averaging filter configured to generate the offset correction based on an average of the detected offsets. The gain error correction module includes an amplitude detector configured to detect amplitudes of the samples in the time window, and a second average filter configured to generate the gain correction based on an average of the detected amplitudes.

In another implementation example, the feed-forward correction module is configured to detect the profile variation based on an envelope of the electrical signal in the time window.

Aspects of the disclosure also provide a method for signal processing. The method includes detecting a profile variation based on an electrical signal in a time window. The electrical signal is generated in response to reading data on a storage medium. Then, the method includes correcting the electrical signal in the time window based on the detected profile variation.

Further, the method includes sampling the electrical signal, detecting the profile variation based on samples of the electrical signal in the time window, and correcting a sample in the time window based on the detected profile variation. In an embodiment, the method includes correcting a center sample in the time window based on the detected profile variation.

According to an aspect of the disclosure, the method includes comparing the profile variation to a threshold, and correcting the sample in the time window when the profile variation is larger than the threshold.

In an embodiment, the method includes correcting a number of samples following the sample in the time window when the profile variation is larger than the threshold. In another embodiment, the method includes correcting the sample when profile variations for a number of time windows are larger than the threshold.

To detect the profile variation based on the samples of the electrical signal in the time window, in an embodiment, the method includes detecting an offset error based on the samples of the electrical signal in the time window. In another embodiment, the method includes detecting an amplitude error based on the samples of the electrical signal in the time window.

Further, in an example, the method includes delaying the samples of the electrical signal to the sample, adding an offset correction based on the offset error to the sample, and multiplying the sample with a gain correction based on the amplitude error.

Aspects of the disclosure provide an apparatus for accessing a storage medium. The apparatus includes a pick-up unit configured to generate an electrical signal in response to reading data on the storage medium, a processing path configured to process the electrical signal, and a feed-forward correction module configured to detect a profile variation based the electrical signal in a time window, and correct the electrical signal in the time window based on the detected profile variation.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of this disclosure that are proposed as examples will be described in detail with reference to the following figures, wherein like numerals reference like elements, and wherein:

FIG. 1 shows a block diagram of a system example 100 and an optical disc example 119 according to an embodiment of the disclosure;

FIG. 2A shows a block diagram of a read channel example 230 according to an embodiment of the disclosure;

FIG. 2B shows a plot 231 for feed-forward correction according to an embodiment of the disclosure;

FIG. 3A shows a block diagram of a feed-forward correction module example 360A according to an embodiment of the disclosure;

FIG. 3B shows a block diagram of a feed-forward correction module example 360B according to an embodiment of the disclosure;

FIG. 4 shows a block diagram of a feed-forward correction module example 460 according to an embodiment of the disclosure;

FIG. 5 shows a block diagram of a feed-forward correction module example 560 according to an embodiment of the disclosure;

FIG. 6 shows a block diagram of a feed-forward correction module example 660 according to an embodiment of the disclosure;

FIG. 7 shows a block diagram of a read channel example 730 according to an embodiment of the disclosure;

FIG. 8 shows a block diagram of a read channel example 830 according to an embodiment of the disclosure;

FIG. 9 shows a flow chart outlining a process example 900 according to an embodiment of the disclosure; and

FIGS. 10A and 10B show block diagrams of averaging filter examples 1000A and 1000B according to an embodiment of the disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

FIG. 1 shows a block diagram of a system example 100 and an optical disc example 119 according to an embodiment of the disclosure. The system 100 includes an optical drive module 120 that reads data from the optical disc 119.

The optical drive module 120 includes an optical pickup unit (OPU) 121, and a read channel 130 with feed-forward correction. The OPU 121 is configured to generate an electrical signal in response to information on the optical disc 119. Specifically, the OPU 121 directs a laser beam to a location of the optical disc 119. The laser beam is reflected from the location of the optical disc 119. The reflected laser beam has light properties that correspond to information stored at the location of the optical disc 119. The light properties are detected by a light detector (not shown) of the OPU 121. The light detector of the OPU 121 generates an electrical signal, generally in the analog form, in response to the reflected laser beam. The electrical signal is then processed by other components of the optical drive module 120, such as the read channel 130, to reproduce the information stored on the optical disc 119.

The read channel 130 includes a signal processing circuit (not shown). The signal processing circuit receives the electrical signal and processes the electrical signal. The electrical signal may have a profile that varies due to various reasons. In an example, a profile of the electrical signal includes an offset and an amplitude. The offset and the amplitude vary due to various reasons, such as a power variation of the laser beam, a reflectivity variation of the optical disc 119, fingerprint stains on the optical disc 119, and the like. Generally, the read channel 130 includes, for example, an offset and gain correction module, that adjusts parameters in the signal processing circuit, such that the offset and the amplitude of the processed electrical signal are maintained at a desired level(s).

According to an embodiment of the disclosure, the read channel 130 has a feed-forward correction module (not shown) that responds quickly to sudden profile variations, such as fingerprint stains induced profile variations, and the like. In an example, the feed-forward correction module measures a signal profile, such as an offset and an amplitude of the electrical signal based on the electrical signal in a time window, and then introduces a profile correction, such as an offset correction and a gain correction, to at least one point, such as a center point, of the electrical signal in the time window. Then, when a sudden profile variation happens, a profile correction to correct the sudden profile variation is immediately applied to the electrical signal. Thus, the read channel 130 has a relatively fast response time to the sudden profile variation.

It is noted that the read channel 130 can include other correction modules. In an example, the read channel 130 includes a feedback offset control loop that adaptively adjusts an offset adjustment added to the electrical signal to compensate for an offset variation, and a gain feedback control loop that adaptively adjusts a gain of an amplifier that is used to amplify the electrical signal to compensate for an amplitude variation. Generally, small loop gains are preferred for the feedback offset and gain control loops to reduce channel noise. The small loop gains can result in a relatively slow response to sudden profile variations in the electrical signal, such as fingerprints stains on the optical disc 119. With the feed-forward correction module, the read channel 130 achieves both low noise and fast response to the sudden profile variations.

It is noted that the offset and the amplitude of the electrical signal are not necessarily maintained at relatively constant values. Instead, the offset and the amplitude of the electrical signal are maintained at desired levels, such as within a range, and the like.

It is noted that the system 100 also includes other components, such as a processor 111, non-volatile memory 113, random access memory (RAM) 112, audio/video (A/V) module 114, user input module 115, network module 116, wireless communication module 117, and the like, to perform various functions during operation. These components are coupled together as shown in FIG. 1.

The processor 111 executes system and application codes. The non-volatile memory 113 holds information even when power is off. The non-volatile memory 113 can be used to store system and application codes, such as firmware. The RAM 112 is readable and writeable. Generally, the RAM 112 can have a relatively fast access speed. In an embodiment, the data and the codes are stored in the RAM 112 during operation, such that the processor 111 can access the RAM 112 for the codes and the data instead of the non-volatile memory 113.

The user input module 115 enables a user to control operations of the system 100. The user input module 115 includes any suitable user input device, such as a keyboard, mouse, touch screen, and the like. In addition, the user input module 115 can include an interface that couples external user input devices to the system 100.

The audio/video module 114 includes any suitable audio/video device, such as a microphone, speaker, display screen, and the like. In addition, the audio/video module 114 can include an interface that couples external audio and video devices to the system 100. The audio/video module 114 can be utilized to play audio/video data stored in the optical disc 119.

The network module 116 and the wireless communication module 117 enable the system 100 to transmit the data stored on the optical disc 119 to other devices, and to receive data from the other devices, and store the received data onto the optical disc 119.

For ease and clarity of description, the embodiments are presented with a bus architecture. However, it should be understood that any other architectures can be used to couple components within the system 100.

It is noted that the read channel 130 can be suitably implemented in other system that reads other suitable storage medium, such as holographic optical disc, magnetic storage, and the like.

FIG. 2A shows a block diagram of a read channel example 230 according to an embodiment of the disclosure. The read channel 230 includes a front-end processing portion 240, a feed-forward correction module 260, a data detector 290, and a timing compensation module 295. These elements are coupled together as shown in FIG. 2A.

The front-end processing portion 240 receives the electrical signal and regulates the electrical signal using various techniques, such as amplification, offset adjustment, filtering, sampling, analog to digital converting, and the like. In an example, the front-end processing portion 240 includes a processing path, such as a first adder 241, a variable gain amplifier (VGA) 242, a continuous time filter (CTF) 243, and an analog to digital converter (ADC) 244, for processing the electrical signal. Specifically, the first adder 241 receives the electrical signal, adjusts an offset of the electrical signal, and provides the offset-adjusted electrical signal to the VGA 242. The VGA 242 amplifies the electrical signal with a gain that is adjustable, and provides the amplified electrical signal to the CTF 243. The CTF 243 filters the amplified electrical signal to remove high frequency noise to clean the electrical signal, and provides the filtered electrical signal to ADC 244. The ADC 244 samples the electrical signal, converts the samples of the electrical signal from an analog form to a digital form, and outputs digital samples of the electrical signal.

Further, the front-end processing portion 240 includes a first error detection module 246. The first error detection module 246 is coupled to the processing path to form a feedback control loop. Specifically, the first error detection module 246 receives the digital samples of the electrical signal from the ADC 244, generates a feedback offset correction and a feedback gain correction based on the digital samples of the electrical signal. The feedback-offset correction is provided back to the first adder 241 to adjust the offset of the electrical signal, and the feedback gain correction is provided back to the VGA 242 in order to adjust an amplitude of the electrical signal.

Generally, the feedback control loop adaptively compensates for offset errors and gain errors. The response time to obtain stabilized offset and amplitude by the feedback control loop depends on loop gains. In an embodiment, the feedback control loop is configured to have relatively small loop gains in order to reduce channel noise. The small loop gains can result in a relatively slow response to a sudden profile variation, such as a profile variation induced by fingerprint stains, and the like.

According to an aspect of the disclosure, the feed-forward correction module 260 detects a profile variation, and applies the corrections in response to the profile variation forward into the electrical signal, such that a response time to the profile variation is reduced.

In an embodiment, the feed-forward correction module 260 detects a profile variation based on a number of digital samples, determines corrections in response to the profile variation, applies the corrections forward to at least one of the digital samples, and outputs corrected digital samples. Thus, the feed-forward correction module 260 responds quickly to sudden profile variations, such as the profile variation induced by fingerprints stains, and the like.

In an embodiment, the feed-forward correction module 260 includes a delay module 261, a second adder 262, a multiplier 263, and a second error detection module 264. The second error detection module 264 receives the digital samples, and detects a profile variation, such as an offset variation, art amplitude variation based on the digital samples. Further, the second error detection module 264 generates a feed-forward offset correction for offset adjustment, and a feed-forward gain correction for amplitude adjustment. The delay module 261 receives the digital samples, and adds a delay in the digital samples, and provides the delayed digital samples to the second adder 262. The second adder 262 adds the feed-forward offset correction to a delayed digital sample, and provides the offset-adjusted digital sample to the multiplier 263. The multiplier 263 receives the offset-adjusted digital sample, and multiplies the offset-adjusted digital sample with the feed-forward gain correction to adjust an amplitude of the digital sample.

In an embodiment, the feed-forward correction module 260 operates based on a time window. Specifically, the second error detection module 264 detects the profile variation based on the digital samples in a time window, and generates the feed-forward offset correction and the feed-forward gain correction based on the digital samples in the time window. The delay module 261 suitably delays the digital samples, such that a digital sample in the time window is offset-adjusted by the second adder 262 and is amplitude-adjusted by the multiplier 263.

In an example, a time window includes 16 digital samples. The second error detection module 264 detects the profile variation based on the 16 digital samples, and generates the feed-forward offset correction and the feed-forward gain correction based on 16 digital samples. The delay module 261 delays the digital samples by 8, such that a center digital sample, such as the 9^(th) digital sample of the 16 digital samples, is offset-adjusted by the second adder 262, and is amplitude-adjusted by the multiplier 263. Because the corrections are fed-forward to the digital samples, a relatively short response time to the sudden profile variation is achieved.

The data detector 290 detects a binary sequence from the corrected digital samples. In an embodiment, the data detector 290 includes an asymmetric correction 291 for correcting asymmetric amplitudes in the corrected digital samples, a finite impulse response (FIR) filter 292 for removing noises from the corrected digital samples and control inter-symbol interference, and a Viterbi detector 293 for detecting the binary sequence.

The timing compensation module 295 is configured to detect and correct timing errors. In an embodiment, the timing compensation module 295 includes a phase error detector 296 for detecting a phase error, and a timing loop filter/VCO 297 for generating sampling clocks based on the detected phase error.

FIG. 2B shows a plot 231 for feed-forward correction according to an embodiment of the disclosure. The plot 231 shows a sequence of digital samples 232 with regard to the sampling time t. Further, the plot 231 shows a first time window 233 from t1 to t16, and a second time window 234 from t2 to t17. Based on digital samples in the first time window 233, first feed-forward corrections 235 are determined. The first feed-forward corrections 235 are applied to a digital sample at t8, which is delayed from t16 by 8 sampling intervals. Based on digital samples in the second time window 234, second feed-forward corrects 236 are determined. The second feed-forward corrections 236 are applied to a digital sample at t9, which is delayed from t17 by 8 sampling intervals.

FIG. 3A shows a block diagram of a feed-forward correction module 360A according to an embodiment of the disclosure. The feed-forward correction module 360A includes a delay module 361A, an adder 362A, a multiplier 363A, an offset correction generation module 366A, and a gain correction generation module 365A. These elements are coupled together as shown in FIG. 3A.

The delay module 361A receives a sequence of digital samples, and adds a delay to digital samples, and provides the delayed digital samples to the adder 362A. The adder 362A adds a feed-forward offset correction to a delayed digital sample, and provides the offset-adjusted digital sample to the multiplier 363A. The multiplier 363A receives the offset-adjusted digital sample, and multiplies the offset-adjusted digital sample with a feed-forward gain correction to adjust an amplitude of the digital sample.

The offset correction generation module 366A receives the sequence of digital samples and generates the feed-forward offset correction based on the digital samples. In an embodiment, the offset correction generation module 366A includes an offset detector 381A and a first averaging filter 382A. The offset detector 381A receives the digital samples, and detects offset errors. The offset errors are provided to the first averaging filter 382A. The first averaging filter 382A calculates an average of the offset errors. In an embodiment, the first averaging filter 382A calculates the average based on a time window. The average is provided to the adder 362A as the feed-forward offset correction.

The gain correction generation module 365A receives the sequence of digital samples and generates the feed-forward gain correction based on the digital samples. In an embodiment, the gain correction generation module 365A includes an amplitude detector 371A, a gain error detector 372A and a second averaging filter 373A. The amplitude detector 371A receives the digital samples, and detect amplitudes based on the digital samples. The gain error detector 372A receives the amplitudes, and detects gain errors based on the amplitudes and a target amplitude. In an example, the gain error detector 372A includes a multiplier that multiplies inverses of the amplitudes with the target amplitude to calculate the gain errors. The gain errors are provided to the second averaging filter 373A. The second averaging filter 373A calculates an average of the gain errors. In an embodiment, the second averaging filter 373A calculates the average based on a time window. The average is provided to the multiplier 363A as the feed-forward gain correction.

FIG. 3B shows a block diagram of a feed-forward correction module 360B according to an embodiment of the disclosure. The feed-forward correction module 360B utilizes certain components that are identical or equivalent to those used in the feed-forward correction module 360A; the description of these components has been provided above and will be omitted here for clarity purposes. However, in the gain correction generation module 365B, the amplitude detector 371B provides the detected amplitudes to the second averaging filter 373B. The second averaging filter 373B calculates an average amplitude based on the received detected amplitudes. In an embodiment, the second averaging filter 373B calculates the average amplitude based on a time window. The average amplitude is provided to the gain error detector 372B. The gain error detector 372B detects a gain error based on the average amplitude and a target amplitude. In an example, the gain error detector 372B includes a multiplier (not shown) that multiples an inverse of the average amplitude with the target amplitude. The gain error is provided to the multiplier 363B as the feed-forward gain correction to adjust the amplitude of the digital samples.

FIG. 4 shows a block diagram of a feed-forward correction module example 460 according to an embodiment of the disclosure. The feed-forward correction module 460 utilizes certain components that are identical or equivalent to those used in the feed-forward correction module 360A; the description of these components has been provided above and will be omitted here for clarity purposes.

In an embodiment, the offset correction generation module 466 includes additional components, such as a first multiplexer 484 and a first multiplexer controller 485 as shown in FIG. 4. The first multiplexer controller 485 receives the average of the offset errors (X), compares an absolute value of the average of the offset errors (|X|) to a first offset threshold (THRESHOLD_O_1), and controls the first multiplexer 484 based on the comparison. In an example, |X| has a relatively large value due to a sudden profile variation. When |X| is larger than or equal to the first offset threshold, the first multiplexer controller 485 controls the first multiplexer 484 to select the average of the offset errors (X) and provides the average of the offset errors (X) to the adder 462 as the feed-forward offset correction. In another example, |X| has a relatively small value due to channel noise. When |X| is smaller than the first offset threshold, the first multiplexer controller 485 controls the first multiplexer 484 to select value zero, such that the adder 462 does not adjust the offset of the digital samples.

Similarly, in an embodiment, the gain correction generation module 465 includes additional components, such as a second multiplexer 474 and a second multiplexer controller 475 shown in FIG. 4. The second multiplexer controller 475 receives the average of the gain errors (Y), subtracts a nominal gain value (1) from the average of the gain errors (Y−1), calculates an absolute value (|Y−1|), and compares the absolute value (|Y−1|) to a first gain threshold (THRESHOLD_G_1), and controls the second multiplexer 474 based on the comparison. In an example, |Y−1| has a relatively large value due to a sudden profile variation. When |Y−1| is larger than or equal to the first gain threshold, the second multiplexer controller 475 controls the second multiplexer 474 to select the average of the gain errors (Y) and provides the average of the gain errors (Y) to the multiplier 463 as the feed-forward gain correction. In another example, |Y−1| has a relatively smaller value due to channel noise. When |Y−1| is smaller than the first gain threshold, the second multiplexer controller 475 controls the second multiplexer 474 to select value 1, such that the multiplier 463 does not adjust the amplitude of the digital samples.

FIG. 5 shows a block diagram of a feed-forward correction module example 560 according to an embodiment of the disclosure. The feed-forward correction module 560 utilizes certain components that are identical or equivalent to those used in the feed-forward correction module 460; the description of these components has been provided above and will be omitted here for clarity purposes.

In an embodiment, the first multiplexer controller 585 includes a COUNTER_A. The first multiplexer controller 585 controls the first multiplexer 584 based on the COUNTER_A. In an example, when |X| calculated based on a time window is larger than or equal to a second offset threshold (THRESHOLD_O_2), the first multiplexer controller 585 resets the COUNTER_A to M. M is a positive integer number. When |X| calculated based on a time window is smaller than the first offset threshold, the COUNTER_A counts down by one. When the COUNTER_A is larger than zero, the first multiplexer controller 585 controls the first multiplexer 584 to select the average of the offset errors (X) and provides the average of the offset errors (X) to the adder 562 as the feed-forward offset correction. When the COUNTER_A is smaller or equal to zero, the first multiplexer 584 outputs value zero, such that the adder 562 does not adjust the offset of the digital samples. Thus, in this embodiment, when |X| exceeds the second offset threshold, feed-forward offset correction based on X is applied in the signal processing. The feed-forward offset correction based on X is continuously applied in the signal processing until |X| is smaller than the second offset threshold for a period of time, such as M sampling intervals in this embodiment. In an example, a profile variation has a tail portion that |X| of the tail portion is relatively small, such as smaller than the second offset threshold. According to this embodiment, the feed-forward offset correction based on the tail portion can be suitably applied in the signal processing.

Similarly, in an embodiment, the second multiplexer controller 575 includes a COUNTER_B. The second multiplexer controller 575 controls the second multiplexer 574 based on the COUNTER_B. In an example, when |Y−1| calculated based on a time window is larger than or equal to a second gain threshold (THRESHOLD_G_2), the second multiplexer controller 575 resets the COUNTER_B to N. N is a positive integer number. When |Y−1| calculated based on a time window is smaller than the second gain threshold, the COUNTER_B counts down by one. When the COUNTER_B is larger than zero, the second multiplexer controller 575 controls the second multiplexer 574 to select the average of the gain errors (Y) and provides the average of the gain errors (Y) to the multiplier 563 as the feed-forward gain correction. When the COUNTER_B is smaller or equal to zero, the second multiplexer 574 outputs value 1, such that the multiplier 563 does not adjust the amplitude of the digital samples. Thus, in this embodiment, when |Y−1| exceeds the second gain threshold, feed-forward gain correction based on Y is applied in the signal processing. The feed-forward gain correction based on Y is continuously applied in the signal processing until |Y−1| is smaller than the second gain threshold for a period of time, such as N sampling intervals in this embodiment. In an example, a profile variation has a tail portion that |Y−1| of the tail portion is relatively small, such as smaller than the second gain threshold. According to this embodiment, the feed-forward gain correction based on the tail portion can be suitably applied in the signal processing.

FIG. 6 shows a block diagram of a feed-forward correction module example 660 according to an embodiment of the disclosure. The feed-forward correction module 660 utilizes certain components that are identical or equivalent to those used in the feed-forward correction module 360A; the description of these components has been provided above and will be omitted here for clarity purposes.

In an embodiment, the first multiplexer controller 685 includes a COUNTER_C. The first multiplexer controller 685 controls the first multiplexer 684 based on the COUNTER_C. In an example, when |X| calculated based on a time window is smaller than a third offset threshold (THRESHOLD_O_3), the COUNTER_C is reset to zero. When |X| calculated based on a time window is larger than or equal to the third offset threshold, the COUNTER_C counts up by one. When the COUNTER_C is larger than P (P is a positive value), the first multiplexer 684 selects the average of the offset errors (X) and provides the average of the offset errors (X) to the adder 662 as the feed-forward offset correction. When the COUNTER_C is smaller than P, the first multiplexer 684 outputs value zero, such that the adder 662 does not adjust the offset of the digital sample.

In an example, channel noises, such as noises in the offset detector 681, can cause |X| to occasionally exceed the third offset threshold. When |X| exceeds the third offset threshold for a time period that is smaller than P sampling intervals, for example, the offset error is considered as noise, and no feed-forward offset correction is applied in the signal processing; and when |X| exceeds the third offset threshold for a time period, such as P sampling intervals, for example, feed-forward offset correction based on X starts to be applied in the signal processing.

Similarly, in an embodiment, the second multiplexer controller 675 includes a COUNTER_D. The second multiplexer controller 675 controls the second multiplexer 674 based on the COUNTER_D. In an example, when |Y−1| calculated based on a time window is smaller than or equal to a third gain threshold (THRESHOLD_G_3), the second multiplexer controller 675 resets the COUNTER_D to zero. When |Y−1| calculated based on a time window is larger than or equal to the third gain threshold, the COUNTER_D counts up by one. When the COUNTER_D is larger than Q (Q is a positive value), the second multiplexer 674 selects the average of the gain errors (Y) and provides the average of the gain errors (Y) to the multiplier 663 as the feed-forward gain correction. When the COUNTER_D is smaller or equal to zero, the second multiplexer 674 outputs value 1, such that the multiplier 663 does not adjust the amplitude of the digital sample.

In an example, channel noises, such as noises in the amplitude detector 671, can cause |Y−1| to occasionally exceed the third gain threshold. When |Y−1| exceeds the third gain threshold for a time period that is smaller than Q sampling intervals, for example, the offset error is considered as noise, and no feed-forward gain correction is applied in the signal processing; and when |Y−1| exceeds the third gain threshold for a time period, such as Q sampling intervals, for example, feed-forward gain correction based on Y starts to be applied in the signal processing.

FIG. 7 shows a block diagram of a read channel example 730 according to an embodiment of the disclosure. The read channel 730 utilizes certain components that are identical or equivalent to those used in the read channel 230; the description of these components has been provided above and will be omitted here for clarity purposes.

In the FIG. 7 example, the front-end processing portion 740 includes an envelope detector 747 to detect a profile variation, such as an offset variation, an amplitude variation, and the like. The envelope detector 747 receives the digital samples, and detects an envelope of the digital samples, and further detects variation of the envelope. Based on the variation of the envelope, the envelope detector 747 generates an offset error, and a gain error. The offset error is provided to the feedback offset loop filter 749 to generate feedback offset correction, and is provided to the first averaging filter 782 to generate the feed-forward offset correction. The gain error is provided to the feedback offset loop filter 748 to generate the feedback offset correction, and is provided to the second average filter 773 to generate the feed-forward gain correction.

FIG. 8 shows a block diagram of a read channel example 830 according to an embodiment of the disclosure. The read channel 830 utilizes certain components that are identical or equivalent to those used in the read channel 730; the description of these components has been provided above and will be omitted here for clarity purposes.

In the FIG. 8 example, the front-end processing portion 840 is in an AC coupled configuration. Specifically, the front-end processing portion 840 includes a high pass filter 845. The high pass filter 845 removes relatively slow offset variation from the electrical signal. Thus, the feedback-offset correction is not needed. However, in an example, the high pass filter 845 does not respond to short term offset variations, such as offset variations due to fingerprints, and the like. In the FIG. 8 example, the envelope detector 847 detects an amplitude based on the envelope of the digital samples. The amplitude is provided to the gain error detector 872. The gain error detector 872 detects gain error based on the amplitude and a target amplitude. The gain error is provided to the second averaging filter 873 to generate the feed-forward gain correction.

It is noted that the read channel 730 and the read channel 830 can be suitably modified according to the feed-forward correction modules shown in FIGS. 4-6.

FIG. 9 shows a flow chart outlining a process example 900 for a read channel to compensate for sudden profile variations in an electrical signal according to an embodiment of the disclosure. The process starts at S901, and proceeds to S910.

At S910, the read channel receives the electrical signal. In an embodiment, the read channel includes a front-end processing portion to process the electrical signal. In an example, the front-end processing portion includes a feedback loop that is configured to adaptively correct variations in the electrical signal. Further, the front-end processing portion includes an analog-to-digital converter that is configured to sample the electrical signal, and convert the sampled electrical signal to digital samples.

At S920, the read channel measures a signal profile and detects a profile variation based on the electrical signal in a time window. In an embodiment, the read channel includes a feed-forward correction module. The feed-forward correction module measures offsets and amplitudes based on the digital samples, and calculates offset errors and gain errors. Further, in an embodiment, the feed-forward correction module calculates an average of the offset errors and an average of the gain errors in the time window.

At S930, the read channel determines a profile correction. In an embodiment, the feed-forward correction module includes a controller. The controller determines the profile correction based on the average of the offset errors and the average of the gain errors. In an example, the controller determines that the errors are due to noise (e.g., by comparing the averages of the offset errors and gain errors to the first offset threshold and the first gain threshold, as shown in FIG. 4, or by comparing the averages of the offset errors and gain errors to the third offset threshold and gain threshold, as shown in FIG. 6), and do not need correction. In another example, the controller determines that the errors are due to a sudden profile variation, and need a profile correction. In another example, the controller determines to correct a sudden profile variation in a hysteresis manner. For example, the controller determines to correct the sudden profile variation when the sudden profile variation has been continuously detected for a while (e.g., in the FIG. 6 example). In another example, the controller determines to continuously correct the sudden profile variation for a while when a sudden profile variation is detected (e.g., in the FIG. 5 example).

At S940, the read channel applies the profile correction forward to the electrical signal. In an embodiment, when a sudden profile variation is detected based on the electrical signal in a time window, the profile correction is applied to the electrical signal, such as a digital sample of the electrical signal, in the time window. In an embodiment, the read channel includes a delay module. The delay module delays the digital samples, such that the profile correction is applied to a digital sample in the time window. The process then proceeds to S999 and terminates.

FIG. 10A shows a block diagram of an averaging filter example 1000A according to an embodiment of the disclosure. The averaging filter 1000A includes a delay module 1001, an adder 1002, a buffer 1003, and a scaling module 1004. These elements are coupled together as shown in FIG. 10A.

The averaging filter 1000A calculates an average of digital inputs in a time window. The time window is defined by a specific delay of the delay module 1001. Specifically, the delay module 1001 receives a sequence of digital inputs, and delays the sequence by the time window. The adder 1002 and the buffer 1003 operate together to add up the sequence of the digital inputs, and subtract the delayed sequence of the digital inputs. Thus, the buffer 1003 outputs a sequence of values corresponding to sums of the digital inputs based on the time window. The scaling module 1004 scales the sums by an inverse of the specific delay, and outputs averages of digital inputs based on the time window.

FIG. 10B shows a block diagram of an averaging filter example 1000B according to an embodiment of the disclosure. The averaging filter 1000B includes a first adder 1011, a buffer 1012, a second adder 1013, a delay module 1015 and a scaling module 1014. These elements are coupled together as shown in FIG. 10B.

The averaging filter 1000B calculates an average of digital inputs in a time window. The time window is defined by a specific delay in the delay module 1015. Specifically, the adder 1011 and the buffer 1012 operate together to add up the sequence of the digital inputs, and the buffer 1012 outputs a sequence of values corresponding to sums of the digital inputs. The delay module 1015 delays the sequence of values by the time window. The second adder 1013 subtracts the sequence of values with the delayed sequence of values, thus the adder 1013 outputs sums of the digital inputs based on the time window. The scaling module 1014 scales the sums by an inverse of the specific delay, and outputs averages of digital inputs based on the time window.

It is noted that the averaging filters 1000A and 1000B are two filter examples. Any other suitable low pass filter, such as finite impulse response (FIR) filter, infinite impulse response (IIR) filter, and the like, can be used in the place of the averaging filters in FIGS. 3A, 3B, 4, 5, 7 and 8.

It is also noted that the various embodiments of the disclosure, such as the feed-forward correction modules 360A, 360B, 460, 560, and 660, the averaging filters 1000A and 1000B can be implemented by various techniques, such as integrated circuits, instruction codes executed by a processor, or a combination of integrated circuits and instruction codes. In an example, a feed-forward correction module, such as the feed-forward correction modules 460, 560, 660, and the like, is implemented solely by integrated circuits. In another example, a portion of a feed-forward correction module, such as the multiplexer controllers 485, 475, 585, 575, 685, 675, and the like, is implemented as instruction codes that can be executed by a processor.

While the invention has been described in conjunction with the specific embodiments thereof that are proposed as examples, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art. Accordingly, embodiments of the invention as set forth herein are intended to be illustrative, not limiting. There are changes that may be made without departing from the scope of the invention. 

What is claimed is:
 1. A signal processing circuit, comprising: a processing path configured to process an electrical signal that is generated in response to reading content data on a storage medium; and a feed-forward correction module configured to detect a profile variation based on the electrical signal in a time window, and correct the electrical signal in the time window based on the detected profile variation.
 2. The signal processing circuit of claim 1, wherein the feed-forward correction module is configured to detect the profile variation based on samples of the electrical signal in the time window, and correct a sample in the time window based on the detected profile variation.
 3. The signal processing circuit of claim 2, wherein the feed-forward correction module is configured to correct a center sample in the time window based on the detected profile variation.
 4. The signal processing circuit of claim 2, wherein the feed-forward correction module is configured to correct the sample in the time window when the detected profile variation is larger than a threshold.
 5. The signal processing circuit of claim 4, wherein the feed-forward correction module is configured to correct a number of samples following the sample in the time window when the detected profile variation is larger than the threshold.
 6. The signal processing circuit of claim 4, wherein the feed-forward correction module is configured to correct the sample in the time window when profile variations for a number of time windows are larger than the threshold.
 7. The signal processing circuit of claim 1, wherein the feed-forward correction module is configured to detect an offset variation based on the electrical signal in the time window, and correct an offset of the electrical signal in the time window based on the offset variation; or the feed-forward correction module is configured to detect an amplitude variation based on the electrical signal in the time window, and correct an amplitude of the electrical signal in the time window based on the amplitude variation.
 8. The signal processing circuit of claim 1, wherein the feed-forward correction module further comprises: an offset correction generation module configured to detect an offset variation based on samples of the electrical signal in the time window, and generate an offset correction; a gain error correction module configured to detect an amplitude variation based on the samples of the electrical signal in the time window, and generate a gain correction; a delay module configured to delay the electrical signal; an adder configured to add the offset correction with the delayed electrical signal; and a multiplier configured to amplifier the delayed electrical signal based on the gain correction.
 9. The signal processing circuit of claim 8, wherein the offset correction generation module further comprises: an offset detector configured to detect offsets of the samples in the time window; and a first averaging filter configured to generate the offset correction based on an average of the detected offsets.
 10. The signal processing circuit of claim 8, wherein the gain error correction module further comprises: an amplitude detector configured to detect amplitudes of the samples in the time window; and a second average filter configured to generate the gain correction based on an average of the detected amplitudes.
 11. The signal processing circuit of claim 1, wherein the feed-forward correction module is configured to detect the profile variation based on an envelope of the electrical signal in the time window.
 12. A method for signal processing, comprising: detecting a profile variation based on an electrical signal in a time window, the electrical signal being generated in response to reading content data on a storage medium; and correcting the electrical signal in the time window based on the detected profile variation.
 13. The method of claim 12, wherein detecting the profile variation based on the electrical signal in the time window further comprises: sampling the electrical signal; and detecting the profile variation based on samples of the electrical signal in the time window.
 14. The method of claim 13, wherein correcting the electrical signal in the time window further comprises: correcting a center sample in the time window based on the detected profile variation.
 15. The method of claim 13, wherein correcting the electrical signal in the time window further comprises: comparing the profile variation to a threshold; and correcting the electrical signal in the time window when the profile variation is larger than the threshold.
 16. The method of claim 15, wherein correcting the electrical signal in the time window further comprises: correcting a number of samples in the time window when the profile variation is larger than the threshold.
 17. The method of claim 15, wherein correcting the electrical signal in the time window further comprises: starting correcting the electrical signal when profile variations corresponding to a number of time windows are larger than the threshold.
 18. The method of claim 13, wherein detecting the profile variation based on the samples of the electrical signal in the time window comprises at least one of detecting an offset error based on the samples of the electrical signal in the time window; and detecting an amplitude error based on the samples of the electrical signal in the time window.
 19. The method of claim 18, wherein correcting the electrical signal in the time window further comprises: delaying the electrical signal; adding an offset correction based on the offset error to the delayed electrical signal; and multiplying the delayed electrical signal with a gain correction based on the amplitude error.
 20. An apparatus for accessing a storage medium, comprising: a pick-up unit configured to generate an electrical signal in response to reading content data on the storage medium; a processing path configured to process the electrical signal; and a feed-forward correction module configured to detect a profile variation based the electrical signal in a time window, and correct the electrical signal in the time window based on the detected profile variation. 